package org.csu.mypetstore.persistence;

import org.csu.mypetstore.domain.CartList;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CartListMapper {
    void insertCartList(CartList cartList);
    void deleteCartByUsername(String username);
    List<CartList> getCartListByUsername(String username);
    void deleteCartItemByUsernameAndItemId(String userId,String  itemid);
}
